﻿using System;
using System.Collections.Generic;
using System.Data;
using Tc.Model;
using System.Text;
using Maticsoft.DBUtility;

/**
* Copyright (c) 2013-2020 0. All rights reserved.
*┌──────────────────────────────────┐
*│  作者QQ:599906561  email: 251908419@qq.com
*│  QQ群： 2068911
*│　版权所有：acseo网版权所有 http://www.0　
*└──────────────────────────────────┘
*/

namespace Tc.BLL
{
    /// <summary>
    /// TcArticle
    /// </summary>
    public partial class chexian : BLLBase<chexian>
    {
        /// <summary>
        /// 获取前多少条数据
        /// </summary>
        /// <param name="Top"></param>
        /// <param name="strWhere"></param>
        /// <param name="filedOrder"></param>
        /// <returns></returns>
        public DataSet GetList(int Top, string strWhere, string filedOrder)
        {
            return dal.GetList(Top, strWhere, filedOrder);
        }
        //public DataSet GetList(int Top, string strWhere, string filedOrder)
        //{
        //    StringBuilder strSql = new StringBuilder();
        //    strSql.Append("select ");
        //    if (Top > 0)
        //    {
        //        strSql.Append(" top " + Top.ToString());
        //    }
        //    strSql.Append(" * ");
        //    strSql.Append(" FROM chexian ");
        //    if (strWhere.Trim() != "")
        //    {
        //        strSql.Append(" where " + strWhere);
        //    }
        //    strSql.Append(" order by " + filedOrder);
        //    return DbHelperOleDb.Query(strSql.ToString());
        //}
    }
}